Optimal. Leaf size=158 \[ -\frac {b^2 c^2 d}{3 x}-\frac {b c d \sqrt {1+c^2 x^2} \left (a+b \sinh ^{-1}(c x)\right )}{3 x^2}-\frac {2 c^2 d \left (a+b \sinh ^{-1}(c x)\right )^2}{3 x}-\frac {d \left (1+c^2 x^2\right ) \left (a+b \sinh ^{-1}(c x)\right )^2}{3 x^3}-\frac {10}{3} b c^3 d \left (a+b \sinh ^{-1}(c x)\right ) \tanh ^{-1}\left (e^{\sinh ^{-1}(c x)}\right )-\frac {5}{3} b^2 c^3 d \text {PolyLog}\left (2,-e^{\sinh ^{-1}(c x)}\right )+\frac {5}{3} b^2 c^3 d \text {PolyLog}\left (2,e^{\sinh ^{-1}(c x)}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.26, antiderivative size = 158, normalized size of antiderivative = 1.00, number of steps
used = 16, number of rules used = 8, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {5807, 5776,
5816, 4267, 2317, 2438, 5805, 30} \begin {gather*} -\frac {10}{3} b c^3 d \tanh ^{-1}\left (e^{\sinh ^{-1}(c x)}\right ) \left (a+b \sinh ^{-1}(c x)\right )-\frac {b c d \sqrt {c^2 x^2+1} \left (a+b \sinh ^{-1}(c x)\right )}{3 x^2}-\frac {d \left (c^2 x^2+1\right ) \left (a+b \sinh ^{-1}(c x)\right )^2}{3 x^3}-\frac {2 c^2 d \left (a+b \sinh ^{-1}(c x)\right )^2}{3 x}-\frac {5}{3} b^2 c^3 d \text {Li}_2\left (-e^{\sinh ^{-1}(c x)}\right )+\frac {5}{3} b^2 c^3 d \text {Li}_2\left (e^{\sinh ^{-1}(c x)}\right )-\frac {b^2 c^2 d}{3 x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 30
Rule 2317
Rule 2438
Rule 4267
Rule 5776
Rule 5805
Rule 5807
Rule 5816
Rubi steps
\begin {align*} \int \frac {\left (d+c^2 d x^2\right ) \left (a+b \sinh ^{-1}(c x)\right )^2}{x^4} \, dx &=-\frac {d \left (1+c^2 x^2\right ) \left (a+b \sinh ^{-1}(c x)\right )^2}{3 x^3}+\frac {1}{3} (2 b c d) \int \frac {\sqrt {1+c^2 x^2} \left (a+b \sinh ^{-1}(c x)\right )}{x^3} \, dx+\frac {1}{3} \left (2 c^2 d\right ) \int \frac {\left (a+b \sinh ^{-1}(c x)\right )^2}{x^2} \, dx\\ &=-\frac {b c d \sqrt {1+c^2 x^2} \left (a+b \sinh ^{-1}(c x)\right )}{3 x^2}-\frac {2 c^2 d \left (a+b \sinh ^{-1}(c x)\right )^2}{3 x}-\frac {d \left (1+c^2 x^2\right ) \left (a+b \sinh ^{-1}(c x)\right )^2}{3 x^3}+\frac {1}{3} \left (b^2 c^2 d\right ) \int \frac {1}{x^2} \, dx+\frac {1}{3} \left (b c^3 d\right ) \int \frac {a+b \sinh ^{-1}(c x)}{x \sqrt {1+c^2 x^2}} \, dx+\frac {1}{3} \left (4 b c^3 d\right ) \int \frac {a+b \sinh ^{-1}(c x)}{x \sqrt {1+c^2 x^2}} \, dx\\ &=-\frac {b^2 c^2 d}{3 x}-\frac {b c d \sqrt {1+c^2 x^2} \left (a+b \sinh ^{-1}(c x)\right )}{3 x^2}-\frac {2 c^2 d \left (a+b \sinh ^{-1}(c x)\right )^2}{3 x}-\frac {d \left (1+c^2 x^2\right ) \left (a+b \sinh ^{-1}(c x)\right )^2}{3 x^3}+\frac {1}{3} \left (b c^3 d\right ) \text {Subst}\left (\int (a+b x) \text {csch}(x) \, dx,x,\sinh ^{-1}(c x)\right )+\frac {1}{3} \left (4 b c^3 d\right ) \text {Subst}\left (\int (a+b x) \text {csch}(x) \, dx,x,\sinh ^{-1}(c x)\right )\\ &=-\frac {b^2 c^2 d}{3 x}-\frac {b c d \sqrt {1+c^2 x^2} \left (a+b \sinh ^{-1}(c x)\right )}{3 x^2}-\frac {2 c^2 d \left (a+b \sinh ^{-1}(c x)\right )^2}{3 x}-\frac {d \left (1+c^2 x^2\right ) \left (a+b \sinh ^{-1}(c x)\right )^2}{3 x^3}-\frac {10}{3} b c^3 d \left (a+b \sinh ^{-1}(c x)\right ) \tanh ^{-1}\left (e^{\sinh ^{-1}(c x)}\right )-\frac {1}{3} \left (b^2 c^3 d\right ) \text {Subst}\left (\int \log \left (1-e^x\right ) \, dx,x,\sinh ^{-1}(c x)\right )+\frac {1}{3} \left (b^2 c^3 d\right ) \text {Subst}\left (\int \log \left (1+e^x\right ) \, dx,x,\sinh ^{-1}(c x)\right )-\frac {1}{3} \left (4 b^2 c^3 d\right ) \text {Subst}\left (\int \log \left (1-e^x\right ) \, dx,x,\sinh ^{-1}(c x)\right )+\frac {1}{3} \left (4 b^2 c^3 d\right ) \text {Subst}\left (\int \log \left (1+e^x\right ) \, dx,x,\sinh ^{-1}(c x)\right )\\ &=-\frac {b^2 c^2 d}{3 x}-\frac {b c d \sqrt {1+c^2 x^2} \left (a+b \sinh ^{-1}(c x)\right )}{3 x^2}-\frac {2 c^2 d \left (a+b \sinh ^{-1}(c x)\right )^2}{3 x}-\frac {d \left (1+c^2 x^2\right ) \left (a+b \sinh ^{-1}(c x)\right )^2}{3 x^3}-\frac {10}{3} b c^3 d \left (a+b \sinh ^{-1}(c x)\right ) \tanh ^{-1}\left (e^{\sinh ^{-1}(c x)}\right )-\frac {1}{3} \left (b^2 c^3 d\right ) \text {Subst}\left (\int \frac {\log (1-x)}{x} \, dx,x,e^{\sinh ^{-1}(c x)}\right )+\frac {1}{3} \left (b^2 c^3 d\right ) \text {Subst}\left (\int \frac {\log (1+x)}{x} \, dx,x,e^{\sinh ^{-1}(c x)}\right )-\frac {1}{3} \left (4 b^2 c^3 d\right ) \text {Subst}\left (\int \frac {\log (1-x)}{x} \, dx,x,e^{\sinh ^{-1}(c x)}\right )+\frac {1}{3} \left (4 b^2 c^3 d\right ) \text {Subst}\left (\int \frac {\log (1+x)}{x} \, dx,x,e^{\sinh ^{-1}(c x)}\right )\\ &=-\frac {b^2 c^2 d}{3 x}-\frac {b c d \sqrt {1+c^2 x^2} \left (a+b \sinh ^{-1}(c x)\right )}{3 x^2}-\frac {2 c^2 d \left (a+b \sinh ^{-1}(c x)\right )^2}{3 x}-\frac {d \left (1+c^2 x^2\right ) \left (a+b \sinh ^{-1}(c x)\right )^2}{3 x^3}-\frac {10}{3} b c^3 d \left (a+b \sinh ^{-1}(c x)\right ) \tanh ^{-1}\left (e^{\sinh ^{-1}(c x)}\right )-\frac {5}{3} b^2 c^3 d \text {Li}_2\left (-e^{\sinh ^{-1}(c x)}\right )+\frac {5}{3} b^2 c^3 d \text {Li}_2\left (e^{\sinh ^{-1}(c x)}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.49, size = 245, normalized size = 1.55 \begin {gather*} -\frac {d \left (a^2+3 a^2 c^2 x^2+b^2 c^2 x^2+a b c x \sqrt {1+c^2 x^2}+2 a b \sinh ^{-1}(c x)+6 a b c^2 x^2 \sinh ^{-1}(c x)+b^2 c x \sqrt {1+c^2 x^2} \sinh ^{-1}(c x)+b^2 \sinh ^{-1}(c x)^2+3 b^2 c^2 x^2 \sinh ^{-1}(c x)^2+5 a b c^3 x^3 \tanh ^{-1}\left (\sqrt {1+c^2 x^2}\right )-5 b^2 c^3 x^3 \sinh ^{-1}(c x) \log \left (1-e^{-\sinh ^{-1}(c x)}\right )+5 b^2 c^3 x^3 \sinh ^{-1}(c x) \log \left (1+e^{-\sinh ^{-1}(c x)}\right )-5 b^2 c^3 x^3 \text {PolyLog}\left (2,-e^{-\sinh ^{-1}(c x)}\right )+5 b^2 c^3 x^3 \text {PolyLog}\left (2,e^{-\sinh ^{-1}(c x)}\right )\right )}{3 x^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 5.94, size = 272, normalized size = 1.72
method | result | size |
derivativedivides | \(c^{3} \left (a^{2} d \left (-\frac {1}{c x}-\frac {1}{3 c^{3} x^{3}}\right )-\frac {b^{2} d \arcsinh \left (c x \right )^{2}}{c x}-\frac {b^{2} d \arcsinh \left (c x \right ) \sqrt {c^{2} x^{2}+1}}{3 c^{2} x^{2}}-\frac {b^{2} d \arcsinh \left (c x \right )^{2}}{3 c^{3} x^{3}}-\frac {b^{2} d}{3 c x}-\frac {5 b^{2} d \arcsinh \left (c x \right ) \ln \left (1+c x +\sqrt {c^{2} x^{2}+1}\right )}{3}-\frac {5 b^{2} d \polylog \left (2, -c x -\sqrt {c^{2} x^{2}+1}\right )}{3}+\frac {5 b^{2} d \arcsinh \left (c x \right ) \ln \left (1-c x -\sqrt {c^{2} x^{2}+1}\right )}{3}+\frac {5 b^{2} d \polylog \left (2, c x +\sqrt {c^{2} x^{2}+1}\right )}{3}+2 b d a \left (-\frac {\arcsinh \left (c x \right )}{c x}-\frac {\arcsinh \left (c x \right )}{3 c^{3} x^{3}}-\frac {5 \arctanh \left (\frac {1}{\sqrt {c^{2} x^{2}+1}}\right )}{6}-\frac {\sqrt {c^{2} x^{2}+1}}{6 c^{2} x^{2}}\right )\right )\) | \(272\) |
default | \(c^{3} \left (a^{2} d \left (-\frac {1}{c x}-\frac {1}{3 c^{3} x^{3}}\right )-\frac {b^{2} d \arcsinh \left (c x \right )^{2}}{c x}-\frac {b^{2} d \arcsinh \left (c x \right ) \sqrt {c^{2} x^{2}+1}}{3 c^{2} x^{2}}-\frac {b^{2} d \arcsinh \left (c x \right )^{2}}{3 c^{3} x^{3}}-\frac {b^{2} d}{3 c x}-\frac {5 b^{2} d \arcsinh \left (c x \right ) \ln \left (1+c x +\sqrt {c^{2} x^{2}+1}\right )}{3}-\frac {5 b^{2} d \polylog \left (2, -c x -\sqrt {c^{2} x^{2}+1}\right )}{3}+\frac {5 b^{2} d \arcsinh \left (c x \right ) \ln \left (1-c x -\sqrt {c^{2} x^{2}+1}\right )}{3}+\frac {5 b^{2} d \polylog \left (2, c x +\sqrt {c^{2} x^{2}+1}\right )}{3}+2 b d a \left (-\frac {\arcsinh \left (c x \right )}{c x}-\frac {\arcsinh \left (c x \right )}{3 c^{3} x^{3}}-\frac {5 \arctanh \left (\frac {1}{\sqrt {c^{2} x^{2}+1}}\right )}{6}-\frac {\sqrt {c^{2} x^{2}+1}}{6 c^{2} x^{2}}\right )\right )\) | \(272\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} d \left (\int \frac {a^{2}}{x^{4}}\, dx + \int \frac {a^{2} c^{2}}{x^{2}}\, dx + \int \frac {b^{2} \operatorname {asinh}^{2}{\left (c x \right )}}{x^{4}}\, dx + \int \frac {2 a b \operatorname {asinh}{\left (c x \right )}}{x^{4}}\, dx + \int \frac {b^{2} c^{2} \operatorname {asinh}^{2}{\left (c x \right )}}{x^{2}}\, dx + \int \frac {2 a b c^{2} \operatorname {asinh}{\left (c x \right )}}{x^{2}}\, dx\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (a+b\,\mathrm {asinh}\left (c\,x\right )\right )}^2\,\left (d\,c^2\,x^2+d\right )}{x^4} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________